<template>
  <div class="wscn-http404-container">
    <div class="wscn-http404">
      <div class="bullshit">
        <div class="bullshit__oops">404</div>
        <div class="bullshit__headline">{{ message }}</div>
        <div class="bullshit__info">对不起，您访问的页面不存在</div>
        <router-link to="/" class="bullshit__return-home">返回首页</router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Page404',
  computed: {
    message() {
      return '找不到页面...'
    }
  }
}
</script>

<style lang="scss" scoped>
.wscn-http404-container {
  transform: translate(-50%,-50%);
  position: absolute;
  top: 40%;
  left: 50%;
}

.wscn-http404 {
  position: relative;
  width: 800px;
  padding: 0 50px;
  overflow: hidden;
  
  .bullshit {
    position: relative;
    float: left;
    width: 100%;
    padding: 30px 0;
    overflow: hidden;
    text-align: center;
    
    &__oops {
      font-size: 64px;
      font-weight: bold;
      line-height: 80px;
      color: #1482f0;
      margin-bottom: 20px;
    }
    
    &__headline {
      font-size: 20px;
      line-height: 24px;
      color: #222;
      font-weight: bold;
      margin-bottom: 10px;
    }
    
    &__info {
      font-size: 16px;
      line-height: 21px;
      color: grey;
      margin-bottom: 30px;
    }
    
    &__return-home {
      display: inline-block;
      padding: 10px 30px;
      background: #1482f0;
      border-radius: 4px;
      color: #ffffff;
      font-size: 14px;
      text-decoration: none;
      
      &:hover {
        background: #0d6ecc;
      }
    }
  }
}
</style> 